/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Formulario_Clientes.java
 *
 * Created on 8/06/2011, 08:46:38 PM
 */
package restaurante;

/**
 *
 * @author Jito
 */
public class Formulario_Clientes extends javax.swing.JFrame {

    /** Creates new form Formulario_Clientes */
    public Formulario_Clientes() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        P_InfoPersonalCliente = new javax.swing.JPanel();
        L_Nombre_Clientes = new javax.swing.JLabel();
        L_Apellidos_cliente = new javax.swing.JLabel();
        L_NIT_cliente = new javax.swing.JLabel();
        L_Direccion_cliente = new javax.swing.JLabel();
        L_lugar_cliente = new javax.swing.JLabel();
        L_Sexo_cliente = new javax.swing.JLabel();
        I_nombre_cliente = new javax.swing.JTextField();
        I_apellidos_cleinte = new javax.swing.JTextField();
        I_nit_cliente = new javax.swing.JTextField();
        I_direccion_cliente = new javax.swing.JTextField();
        I_lugar_cliente = new javax.swing.JTextField();
        Combo_sexo = new javax.swing.JComboBox();
        L_InfoPersonal = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        P_InfoAdicionalcliente = new javax.swing.JPanel();
        L_infoAdicional = new javax.swing.JLabel();
        L_email = new javax.swing.JLabel();
        L_movilCliente = new javax.swing.JLabel();
        L_telCleinte = new javax.swing.JLabel();
        I_emailCliente = new javax.swing.JTextField();
        I_movilCliente = new javax.swing.JTextField();
        I_telefonoCleinte = new javax.swing.JTextField();
        B_AceptarCliente = new javax.swing.JButton();
        B_cancelarCliente = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(restaurante.RestauranteApp.class).getContext().getResourceMap(Formulario_Clientes.class);
        P_InfoPersonalCliente.setBackground(resourceMap.getColor("P_Info_Cliente.background")); // NOI18N
        P_InfoPersonalCliente.setName("P_Info_Cliente"); // NOI18N

        L_Nombre_Clientes.setText(resourceMap.getString("L_Nombre_Clientes.text")); // NOI18N
        L_Nombre_Clientes.setName("L_Nombre_Clientes"); // NOI18N

        L_Apellidos_cliente.setText(resourceMap.getString("L_Apellidos_cliente.text")); // NOI18N
        L_Apellidos_cliente.setName("L_Apellidos_cliente"); // NOI18N

        L_NIT_cliente.setText(resourceMap.getString("L_NIT_cliente.text")); // NOI18N
        L_NIT_cliente.setName("L_NIT_cliente"); // NOI18N

        L_Direccion_cliente.setText(resourceMap.getString("L_Direccion_cliente.text")); // NOI18N
        L_Direccion_cliente.setName("L_Direccion_cliente"); // NOI18N

        L_lugar_cliente.setText(resourceMap.getString("L_lugar_cliente.text")); // NOI18N
        L_lugar_cliente.setName("L_lugar_cliente"); // NOI18N

        L_Sexo_cliente.setText(resourceMap.getString("L_Sexo_cliente.text")); // NOI18N
        L_Sexo_cliente.setName("L_Sexo_cliente"); // NOI18N

        I_nombre_cliente.setText(resourceMap.getString("I_nombre_cliente.text")); // NOI18N
        I_nombre_cliente.setName("I_nombre_cliente"); // NOI18N

        I_apellidos_cleinte.setText(resourceMap.getString("I_apellidos_cleinte.text")); // NOI18N
        I_apellidos_cleinte.setName("I_apellidos_cleinte"); // NOI18N

        I_nit_cliente.setText(resourceMap.getString("I_nit_cliente.text")); // NOI18N
        I_nit_cliente.setName("I_nit_cliente"); // NOI18N

        I_direccion_cliente.setText(resourceMap.getString("I_direccion_cliente.text")); // NOI18N
        I_direccion_cliente.setName("I_direccion_cliente"); // NOI18N

        I_lugar_cliente.setText(resourceMap.getString("I_lugar_cliente.text")); // NOI18N
        I_lugar_cliente.setName("I_lugar_cliente"); // NOI18N

        Combo_sexo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "M", "F" }));
        Combo_sexo.setName("Combo_sexo"); // NOI18N

        L_InfoPersonal.setFont(resourceMap.getFont("L_InfoPersonal.font")); // NOI18N
        L_InfoPersonal.setText(resourceMap.getString("L_InfoPersonal.text")); // NOI18N
        L_InfoPersonal.setName("L_InfoPersonal"); // NOI18N

        javax.swing.GroupLayout P_InfoPersonalClienteLayout = new javax.swing.GroupLayout(P_InfoPersonalCliente);
        P_InfoPersonalCliente.setLayout(P_InfoPersonalClienteLayout);
        P_InfoPersonalClienteLayout.setHorizontalGroup(
            P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(P_InfoPersonalClienteLayout.createSequentialGroup()
                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(P_InfoPersonalClienteLayout.createSequentialGroup()
                        .addGap(27, 27, 27)
                        .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(P_InfoPersonalClienteLayout.createSequentialGroup()
                                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, P_InfoPersonalClienteLayout.createSequentialGroup()
                                        .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(L_Apellidos_cliente)
                                            .addComponent(L_NIT_cliente))
                                        .addGap(18, 18, 18)
                                        .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(I_apellidos_cleinte, javax.swing.GroupLayout.DEFAULT_SIZE, 343, Short.MAX_VALUE)
                                            .addComponent(I_nit_cliente, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, P_InfoPersonalClienteLayout.createSequentialGroup()
                                        .addComponent(L_Nombre_Clientes)
                                        .addGap(18, 18, 18)
                                        .addComponent(I_nombre_cliente, javax.swing.GroupLayout.PREFERRED_SIZE, 343, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addGap(19, 19, 19))
                            .addGroup(P_InfoPersonalClienteLayout.createSequentialGroup()
                                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(L_Direccion_cliente)
                                    .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                        .addComponent(L_Sexo_cliente)
                                        .addComponent(L_lugar_cliente)))
                                .addGap(18, 18, 18)
                                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(Combo_sexo, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                        .addComponent(I_lugar_cliente)
                                        .addComponent(I_direccion_cliente, javax.swing.GroupLayout.DEFAULT_SIZE, 361, Short.MAX_VALUE))))))
                    .addGroup(P_InfoPersonalClienteLayout.createSequentialGroup()
                        .addGap(192, 192, 192)
                        .addComponent(L_InfoPersonal)))
                .addContainerGap(119, Short.MAX_VALUE))
        );
        P_InfoPersonalClienteLayout.setVerticalGroup(
            P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(P_InfoPersonalClienteLayout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addComponent(L_InfoPersonal)
                .addGap(18, 18, 18)
                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_Nombre_Clientes)
                    .addComponent(I_nombre_cliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_Apellidos_cliente)
                    .addComponent(I_apellidos_cleinte, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_NIT_cliente)
                    .addComponent(I_nit_cliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_Direccion_cliente)
                    .addComponent(I_direccion_cliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_lugar_cliente)
                    .addComponent(I_lugar_cliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(P_InfoPersonalClienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(L_Sexo_cliente)
                    .addComponent(Combo_sexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(26, Short.MAX_VALUE))
        );

        jLabel1.setFont(resourceMap.getFont("jLabel1.font")); // NOI18N
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        P_InfoAdicionalcliente.setBackground(resourceMap.getColor("P_InfoAdicionalcliente.background")); // NOI18N
        P_InfoAdicionalcliente.setName("P_InfoAdicionalcliente"); // NOI18N

        L_infoAdicional.setFont(resourceMap.getFont("L_infoAdicional.font")); // NOI18N
        L_infoAdicional.setText(resourceMap.getString("L_infoAdicional.text")); // NOI18N
        L_infoAdicional.setName("L_infoAdicional"); // NOI18N

        L_email.setText(resourceMap.getString("L_email.text")); // NOI18N
        L_email.setName("L_email"); // NOI18N

        L_movilCliente.setText(resourceMap.getString("L_movilCliente.text")); // NOI18N
        L_movilCliente.setName("L_movilCliente"); // NOI18N

        L_telCleinte.setText(resourceMap.getString("L_telCleinte.text")); // NOI18N
        L_telCleinte.setName("L_telCleinte"); // NOI18N

        I_emailCliente.setText(resourceMap.getString("I_emailCliente.text")); // NOI18N
        I_emailCliente.setName("I_emailCliente"); // NOI18N

        I_movilCliente.setText(resourceMap.getString("I_movilCliente.text")); // NOI18N
        I_movilCliente.setName("I_movilCliente"); // NOI18N

        I_telefonoCleinte.setText(resourceMap.getString("I_telefonoCleinte.text")); // NOI18N
        I_telefonoCleinte.setName("I_telefonoCleinte"); // NOI18N

        javax.swing.GroupLayout P_InfoAdicionalclienteLayout = new javax.swing.GroupLayout(P_InfoAdicionalcliente);
        P_InfoAdicionalcliente.setLayout(P_InfoAdicionalclienteLayout);
        P_InfoAdicionalclienteLayout.setHorizontalGroup(
            P_InfoAdicionalclienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(P_InfoAdicionalclienteLayout.createSequentialGroup()
                .addGroup(P_InfoAdicionalclienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(P_InfoAdicionalclienteLayout.createSequentialGroup()
                        .addGap(30, 30, 30)
                        .addGroup(P_InfoAdicionalclienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(L_movilCliente)
                            .addComponent(L_telCleinte)
                            .addComponent(L_email))
                        .addGap(14, 14, 14)
                        .addGroup(P_InfoAdicionalclienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(I_emailCliente)
                            .addComponent(I_telefonoCleinte)
                            .addComponent(I_movilCliente, javax.swing.GroupLayout.DEFAULT_SIZE, 212, Short.MAX_VALUE)))
                    .addGroup(P_InfoAdicionalclienteLayout.createSequentialGroup()
                        .addGap(207, 207, 207)
                        .addComponent(L_infoAdicional)))
                .addContainerGap(233, Short.MAX_VALUE))
        );
        P_InfoAdicionalclienteLayout.setVerticalGroup(
            P_InfoAdicionalclienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(P_InfoAdicionalclienteLayout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addComponent(L_infoAdicional)
                .addGap(29, 29, 29)
                .addGroup(P_InfoAdicionalclienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_email)
                    .addComponent(I_emailCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(P_InfoAdicionalclienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_movilCliente)
                    .addComponent(I_movilCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(24, 24, 24)
                .addGroup(P_InfoAdicionalclienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(L_telCleinte)
                    .addComponent(I_telefonoCleinte, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(47, Short.MAX_VALUE))
        );

        B_AceptarCliente.setFont(resourceMap.getFont("B_AceptarCliente.font")); // NOI18N
        B_AceptarCliente.setIcon(resourceMap.getIcon("B_AceptarCliente.icon")); // NOI18N
        B_AceptarCliente.setText(resourceMap.getString("B_AceptarCliente.text")); // NOI18N
        B_AceptarCliente.setName("B_AceptarCliente"); // NOI18N

        B_cancelarCliente.setFont(resourceMap.getFont("jButton1.font")); // NOI18N
        B_cancelarCliente.setIcon(resourceMap.getIcon("B_cancelarCliente.icon")); // NOI18N
        B_cancelarCliente.setText(resourceMap.getString("B_cancelarCliente.text")); // NOI18N
        B_cancelarCliente.setActionCommand(resourceMap.getString("B_cancelarCliente.actionCommand")); // NOI18N
        B_cancelarCliente.setName("B_cancelarCliente"); // NOI18N
        B_cancelarCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                B_cancelarClienteActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(210, 210, 210)
                        .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(57, 57, 57)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(271, 271, 271)
                                .addComponent(B_cancelarCliente)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(B_AceptarCliente))
                            .addComponent(P_InfoPersonalCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(P_InfoAdicionalcliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(39, 39, 39))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(P_InfoPersonalCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(P_InfoAdicionalcliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(30, 30, 30)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(B_cancelarCliente)
                    .addComponent(B_AceptarCliente))
                .addContainerGap(25, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void B_cancelarClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_B_cancelarClienteActionPerformed
        // TODO add your handling code here:
        Formulario_Clientes.this.setVisible(false);
    }//GEN-LAST:event_B_cancelarClienteActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new Formulario_Clientes().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton B_AceptarCliente;
    private javax.swing.JButton B_cancelarCliente;
    private javax.swing.JComboBox Combo_sexo;
    private javax.swing.JTextField I_apellidos_cleinte;
    private javax.swing.JTextField I_direccion_cliente;
    private javax.swing.JTextField I_emailCliente;
    private javax.swing.JTextField I_lugar_cliente;
    private javax.swing.JTextField I_movilCliente;
    private javax.swing.JTextField I_nit_cliente;
    private javax.swing.JTextField I_nombre_cliente;
    private javax.swing.JTextField I_telefonoCleinte;
    private javax.swing.JLabel L_Apellidos_cliente;
    private javax.swing.JLabel L_Direccion_cliente;
    private javax.swing.JLabel L_InfoPersonal;
    private javax.swing.JLabel L_NIT_cliente;
    private javax.swing.JLabel L_Nombre_Clientes;
    private javax.swing.JLabel L_Sexo_cliente;
    private javax.swing.JLabel L_email;
    private javax.swing.JLabel L_infoAdicional;
    private javax.swing.JLabel L_lugar_cliente;
    private javax.swing.JLabel L_movilCliente;
    private javax.swing.JLabel L_telCleinte;
    private javax.swing.JPanel P_InfoAdicionalcliente;
    private javax.swing.JPanel P_InfoPersonalCliente;
    private javax.swing.JLabel jLabel1;
    // End of variables declaration//GEN-END:variables
}
